package com.nhim.cms.admin.client.rpc;

import java.util.List;
import java.util.Set;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.nhim.cms.admin.shared.ContentTypeRPCProxy;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("contentTypeRPCService")
public interface ContentTypeRPCService extends RemoteService {
     List<ContentTypeRPCProxy> findAll() throws IllegalArgumentException;
     List<ContentTypeRPCProxy> findByGroupId(Integer groupId) throws IllegalArgumentException;
    Boolean persitGroupContentTypes(Integer groupId,Set<Integer> listContentType) throws IllegalArgumentException;
}




